<template>
  <div>
    <router-view v-slot="{ Component, route }">
      <keep-alive :include="KeepAliveInclude">
        <suspense>
          <component :is="Component" :key="route.path" />
        </suspense>
      </keep-alive>
    </router-view>
  </div>
</template>

<script setup lang="ts">
const KeepAliveInclude = ['home']
</script>

<style scoped lang="less"></style>
